set -e

MY_DIR=$(basename "$0" | sed 's/\.sh/.d/g')

bin=$(dirname "$0")
bin=$(
  cd "$bin"
  pwd
)

. meta-lib-static/env/.env

MUSER=$HDFS_MINIO_SERVER_USERNAME
MPASS=$HDFS_MINIO_SERVER_PASSWORD
# HDFS_MINIO_SERVER_NODES
MNODE=
MADDR=$MNODE:$HDFS_MINIO_SERVER_PORT
MINIO_ROOT_USER=$MUSER MINIO_ROOT_PASSWORD=$MPASS ${ACCESS_STATIC_DIR}/linux/minio-20210116 gateway hdfs --address $MADDR

